package netJava_part1_nbu2010_lab03_fn51939;

public class MainClass {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String[] first = { "one", "two", "three", "four", "five", "six",
				"seven", "eight", "nine", "ten" };
		String[] second = { "gree", "blue", "red", "grey", "black", "pink",
				"white" };

		StringOut s1 = new StringOut(first, 500L);
		StringOut s2 = new StringOut(second, 1000L);

		Thread threadS1 = new Thread(s1);
		Thread threadS2 = new Thread(s2);

		threadS1.start();
		threadS2.start();
	}

}
